/**
 * All rights Reserved, Designed By https://www.pcitech.com
 *
 * @Title: @IndexController
 * @Package @com.suntek.device.viid.controller
 * @Description: 这里填写描述
 * @author: lyp林永坡
 * @date: @2020年9月11日 @上午9:13:42
 * @version v1.0
 * @Copyright: 2019 https://www.pcitech.com Inc. All rights reserved.
 * 注意：本内容仅限于佳都新太科技股份有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.dxy.shardingjdbc.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Api(tags = "首页")
@Controller
public class HealthController {

    @ApiOperation(value = "健康检查")
    @GetMapping("/healthz")
    public ResponseEntity<String> healthz() {
        return ResponseEntity.ok("success");
    }

}
